import axios from 'axios'
axios.defaults.timeout = 2500;
export function myget(url, params1) {
    return new Promise((resolve, reject) => {
        axios.get(url, {
            params: params1
        }).then(res => {
            resolve(res.data)
        }).catch(err => {
            reject(err)
        })
    })
}